package com.qingchi.web.controller.social;

import com.socialuni.social.api.OAuthApi;
import com.socialuni.social.api.UserApi;
import com.socialuni.social.model.QO.user.UserIdQO;
import com.socialuni.social.model.RO.user.SocialUserDetailFollowRO;
import com.socialuni.social.model.RO.user.SocialUserDetailRO;
import com.socialuni.social.model.common.ResultRO;
import com.socialuni.social.service.SocialUserCreateGetService;
import com.socialuni.social.service.SocialUserDetailService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("user")
public class UserController implements UserApi {
    @Resource
    OAuthApi oAuthApi;
    @Resource
    SocialUserLoginMange socialUserLoginMange;
    @Resource
    SocialUserCreateGetService socialUserCreateGetService;
    @Resource
    SocialUserDetailService socialUserDetailService;
    @Resource
    UserApi userApi;

    @PostMapping("getMineUser")
    public ResultRO<SocialUserDetailRO> getMineUser() {
        return userApi.getMineUser();
    }

    @Override
    public ResultRO<SocialUserDetailRO> queryUserDetail(UserIdQO userIdQO) {
        return null;
    }

    @Override
    public ResultRO<SocialUserDetailFollowRO> queryUserDetailFollow(UserIdQO userIdQO) {
        return null;
    }
}